package com.xyht.medicine_management_system.modules.kuaidi.service;

import com.xyht.medicine_management_system.common.commonReturn.ResponseResult;
import com.xyht.medicine_management_system.modules.kuaidi.entity.MmsKuaidiInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.medicine_management_system.modules.kuaidi.entity.req.MmsKuaidiInfoBatchReq;
import com.xyht.medicine_management_system.modules.kuaidi.entity.req.MmsKuaidiInfoReq;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * <p>
 * 商家发货快递信息 服务类
 * </p>
 *
 * @author XYHT
 * @since 2024-07-02
 */
public interface MmsKuaidiInfoService extends IService<MmsKuaidiInfo> {
        /**
         * @description  订单发货   快递公司为京东，圆通时需要填写物品名称
         *
         * @create 2024/7/3
         * @author dxn
        */
        ResponseResult BatchSendKuaidi(MmsKuaidiInfoBatchReq batchReq);
        /**
         * @description  取消订单
         *
         * @create 2024/7/3
         * @author dxn
         */
        ResponseResult cancelKuaidi(MmsKuaidiInfoReq req);
        /**
         * @description  快递物流查询
         *
         * @create 2024/7/3
         * @author dxn
         */
        ResponseResult getKuaidiTrackInfo(MmsKuaidiInfoReq req);
        ResponseResult getKuaidiInfo(MmsKuaidiInfoReq req);
        /**
         * @description  面单打印
         *
         * @create 2024/7/3
         * @author dxn
         */
        ResponseResult printKuaidiInfo(MmsKuaidiInfoBatchReq req);
        /**
         * @description  快递订单信息回调
         *
         * @create 2024/7/3
         * @author dxn
         */
        Map<String,Object> kuaidiOrderInfoCallback(HttpServletRequest request);
        /**
         * @description  快递状态信息回调
         *
         * @create 2024/7/3
         * @author dxn
         */
        Map<String,Object> kuaidiStatusInfoCallback(HttpServletRequest request);
}
